package com.yunhe.java.day07;

import com.yunhe.java.day07.Fengzhuang;

/**
 * Created by Administrator on 2017/7/28 0028.
 */
public class Test {
    public static void main(String[] args) {
        Fengzhuang fz=new Fengzhuang();
        fz.setName("王小波");
        fz.getName();
        System.out.println( "这个人叫："+fz.getName());
        fz.setAge(50);
        int a=fz.getAge();
        System.out.println("年龄是："+a+"岁");
        fz.setSex('男');
        fz.getSex();
        System.out.println( "此人性别为："+fz.getSex());

    }
}
